package com.lsm.sm.util;

public class Const{
	/********************
	 *** key in application(servletcontext) 
	 ********************
	 */
	public static final String SCHEDUL = "schedul";	// 1
	public static final String COURSE = "course";
	
	
	
	/********************
	 ***key in session
	 ********************
	 */
	public static final String USER = "USER";	//存放在 session 中的user的key
	public static final String VC ="VC";        //存放在 session 中的 verifycode 的key;
	public static final String NEW_SESSION = "NEW_SESSION";
	public static final String PROXY_USER = "PROXY_USER";
	
	
	
	/********************
	 ***key in cookie
	 *********************
	 */
	public static final String COOKIE_USER = "ACCOUNT";
	public static final String COOKIE_PATH = "";
		
	
	
	/********************
	 ***Exception
	 ********************
	 */
	//in StudentManagementImpl # signIn();
	public static final String EXPT_006 = "E6:今日课程未分配!";
	public static final String EXPT_007 = "E7:你已签到...";
	//in ManagerServiceImpl # deployeCourse();
	public static final String EXPT_008 = "E8:分配策略有误，课程配置出错，请重试…";
	public static final String EXPT_009 = "E9:课程不可为空！";
	public static final String EXPT_010 = "E10:无该课程，请核对课程！";
	
	/**
	 ********************
	 ***Response message
	 ********************
	 */
	//StudentAction # signIn();
	public static final String RSPS_MSG_006 = "R6:签到成功...&true";
	//managerAction # deployCourse();
	public static final String RSPS_MSG_007 = "R7:课程分配成功...&true";
	
	
	/********************
	 ***Result name
	 ********************
	 */
	public static final String SUCCESS = "success";
	public static final String RST_SIGNIN = "signin";
	public static final String RST_BASPROF = "basicprofile";
	
	//result ManagerAction #initialize()
	public static final String RST_INIT = "initialize";
	//result ManagerAction #deploycourse
	public static final String RST_DEPLOYCOS = "deploycos";
	// result ManagerAction # checkPetition() 
	public static final String RST_PETITION = "petition";
}
